home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 July & August / PCWorld_2006-07-08_cd.bin / komunikace / apache / apache_2[1].2.2-win32-x86-no_ssl.msi / Data1.cab / _00A072C0EC0292A9084DA3FB705409FA < prev    next >
Extensible Markup Language  |  2006-01-15  |  7KB  |  121 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
  4.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  5.               This file is generated from xml source: DO NOT EDIT
  6.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  7.       -->
  8. <title>mod_authn_alias - Apache HTTP Server</title>
  9. <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
  10. <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
  11. <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
  12. <link href="../images/favicon.ico" rel="shortcut icon" /></head>
  13. <body>
  14. <div id="page-header">
  15. <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p>
  16. <p class="apache">Apache HTTP Server Version 2.2</p>
  17. <img alt="" src="../images/feather.gif" /></div>
  18. <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
  19. <div id="path">
  20. <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.2</a> > <a href="./">Modules</a></div>
  21. <div id="page-content">
  22. <div id="preamble"><h1>Apache Module mod_authn_alias</h1>
  23. <div class="toplang">
  24. <p><span>Available Languages: </span><a href="../en/mod/mod_authn_alias.html" title="English"> en </a></p>
  25. </div>
  26. <table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Provides the ability to create extended authentication 
  27.     providers based on actual providers</td></tr>
  28. <tr><th><a href="module-dict.html#Status">Status:</a></th><td>Extension</td></tr>
  29. <tr><th><a href="module-dict.html#ModuleIdentifier">ModuleáIdentifier:</a></th><td>authn_alias_module</td></tr>
  30. <tr><th><a href="module-dict.html#SourceFile">SourceáFile:</a></th><td>mod_authn_alias.c</td></tr>
  31. <tr><th><a href="module-dict.html#Compatibility">Compatibility:</a></th><td>Available in Apache 2.1 and later</td></tr></table>
  32. <h3>Summary</h3>
  33.  
  34.     <p>This module allows extended authentication providers to be created 
  35.     within the configuration file and assigned an alias name.  The alias 
  36.     providers can then be referenced through the directives 
  37.     <code class="directive"><a href="../mod/mod_auth_basic.html#authbasicprovider">AuthBasicProvider</a></code> or 
  38.     <code class="directive"><a href="../mod/mod_auth_digest.html#authdigestprovider">AuthDigestProvider</a></code> in
  39.     the same way as a base authentication provider.  Besides the ability
  40.     to create and alias an extended provider, it also allows the same 
  41.     extended authentication provider to be reference by multiple 
  42.     locations.</p>
  43.  
  44. </div>
  45. <div id="quickview"><h3 class="directives">Directives</h3>
  46. <ul id="toc">
  47. <li><img alt="" src="../images/down.gif" /> <a href="#authnprovideralias"><AuthnProviderAlias></a></li>
  48. </ul>
  49. <h3>Topics</h3>
  50. <ul id="topics">
  51. <li><img alt="" src="../images/down.gif" /> <a href="#example">Example</a></li>
  52. </ul></div>
  53. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  54. <div class="section">
  55. <h2><a name="example" id="example">Example</a></h2>
  56.     <p>The example below creates two different ldap authentication 
  57.     provider aliases based on the ldap provider.  This allows
  58.     a single authenticated location can be serviced by multiple 
  59.     ldap hosts:</p>
  60.  
  61.     <div class="example"><h3>Example</h3><p><code>
  62.       LoadModule authn_alias_module modules/mod_authn_alias.so<br /><br />
  63.       <AuthnProviderAlias ldap ldap-alias1><br />
  64.       <span class="indent">
  65.          AuthLDAPBindDN cn=youruser,o=ctx<br />
  66.          AuthLDAPBindPassword yourpassword<br />
  67.          AuthLDAPURL ldap://ldap.host/o=ctx<br />
  68.       </span>
  69.       </AuthnProviderAlias><br /><br />
  70.       <AuthnProviderAlias ldap ldap-other-alias><br />
  71.       <span class="indent">
  72.          AuthLDAPBindDN cn=yourotheruser,o=dev<br />
  73.          AuthLDAPBindPassword yourotherpassword<br />
  74.          AuthLDAPURL ldap://other.ldap.host/o=dev?cn<br />
  75.       </span>
  76.       </AuthnProviderAlias><br /><br />
  77.  
  78.       Alias /secure /webpages/secure<br />
  79.       <Directory /webpages/secure><br />
  80.       <span class="indent">
  81.          Order deny,allow<br />
  82.          Allow from all<br /><br />
  83.     
  84.          AuthBasicProvider ldap-other-alias  ldap-alias1<br /><br />
  85.     
  86.          AuthType Basic<br />
  87.          AuthName LDAP_Protected_Place<br />
  88.          AuthzLDAPAuthoritative off<br />
  89.          require valid-user<br />
  90.       </span>
  91.       </Directory><br />
  92.     </code></p></div>
  93. </div>
  94. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  95. <div class="directive-section"><h2><a name="AuthnProviderAlias" id="AuthnProviderAlias"><AuthnProviderAlias></a> <a name="authnprovideralias" id="authnprovideralias">Directive</a></h2>
  96. <table class="directive">
  97. <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Enclose a group of directives that represent an
  98. extension of a base authentication provider and referenced by
  99. the specified alias</td></tr>
  100. <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code><AuthnProviderAlias <var>baseProvider Alias</var>>
  101. ... </AuthnProviderAlias></code></td></tr>
  102. <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr>
  103. <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr>
  104. <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_authn_alias</td></tr>
  105. </table>
  106.     <p><code class="directive"><AuthnProviderAlias></code> and
  107.     <code></AuthnProviderAlias></code> are used to enclose a group of
  108.     authentication directives that can be referenced by the alias name 
  109.     using one of the directives <code class="directive"><a href="../mod/mod_auth_basic.html#     authbasicprovider">
  110.     AuthBasicProvider</a></code> or <code class="directive"><a href="../mod/mod_auth_digest.html#     authdigestprovider">
  111.     AuthDigestProvider</a></code>.</p>
  112.  
  113.  
  114. </div>
  115. </div>
  116. <div class="bottomlang">
  117. <p><span>Available Languages: </span><a href="../en/mod/mod_authn_alias.html" title="English"> en </a></p>
  118. </div><div id="footer">
  119. <p class="apache">Copyright 1995-2006 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
  120. <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
  121. </body></html>